const int BM_NONE=0;
const int BM_ALPHA=1;
const int BM_MULTIPLY=2;
const int BM_ADD=3;
const int BM_DOT3 = 4;
const int BM_OVERLAY = 5;
const int BM_MAX = 6;
const int BM_MIN = 7;
const int BM_DECAL = 8;
const int BM_SUBTRACT = 9;

const int FX_NONE=0;
const int FX_FULLBRIGHT=1;
const int FX_FLAT=4;
const int FX_NOFOG=8;
const int FX_NOCULLING=16;
const int FX_FOCEALPHA=32;

class Brush
{
	float sfactor;
	unsigned char shine;
	float diffuse[4];
	float specular[4];
	unsigned int blend;
	unsigned int fx;
public:
	Brush();
	~Brush();
	Brush(Brush &);
	void Bind();
	void UnBind();
	void Fx(unsigned int fx);
	void Blend(unsigned int blend);
	void Shine(unsigned char shine);
	void Color(float r,float g,float b,float a);
	void SpecularColor(float r,float g,float b,float a);
};